﻿using CIS.Common.Grpc.Protos;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CIS.Common.Grpc
{
    public class ClientState
    {
        public ClientState()
        {
            ClientInfo= new ClientInfo();
            SendQueue = new ConcurrentQueue<GrpcMessageData>();
            ReplyMsg = new ConcurrentDictionary<string, GrpcMessage>();
        }
        public ClientInfo ClientInfo { get; set; }
        public ConcurrentQueue<GrpcMessageData> SendQueue { get; set; }
        public ConcurrentDictionary<string,GrpcMessage> ReplyMsg { get; set; }

    }
}
